package com.qf.wangqing.sportsnews.bean.HeadEntity;

/**
 * Created by ShenHao on 2016/12/15.
 */

public class DanymicSoueceDataobj {
    private String avatar;
    private String url;
    private String nick_name;
    private boolean click_flag;
    private int url_type;

    public String getAvatar() {

        return "http://avatar.l99.com/90x90/"+avatar;
    }

    public String getUrl() {
        return url;
    }

    public String getNick_name() {
        return nick_name;
    }

    public int getUrl_type() {
        return url_type;
    }

    public boolean isClick_flag() {
        return click_flag;
    }
    public String getFrom(){

            String from="";
        switch (url_type) {
            case 0:
                from="来自微博";
            break;
            case 1:
                from="来自自拍";
            break;
        }
        return from;
    }

}
